package com.fk.reggie.service;

import com.fk.reggie.domain.ShoppingCart;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author 凡凯
 * @description 针对表【shopping_cart(购物车)】的数据库操作Service
 * @createDate 2023-03-18 20:43:12
 */
public interface ShoppingCartService extends IService<ShoppingCart> {

    /**
     * 添加购物车信息
     * @param shoppingCart
     */
    ShoppingCart saveShoppingCart(ShoppingCart shoppingCart);

    /**
     * 修改购物车数量
     * @param shoppingCart
     */
    void subShoppingCart(ShoppingCart shoppingCart);
}
